/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.anny.notice.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.anny.notice.entity.AnnyNotice;
import com.jeeplus.modules.anny.notice.mapper.AnnyNoticeMapper;

/**
 * 公告表Service
 * @author xh
 * @version 2018-12-07
 */
@Service
@Transactional(readOnly = true)
public class AnnyNoticeService extends CrudService<AnnyNoticeMapper, AnnyNotice> {

	public AnnyNotice get(String id) {
		return super.get(id);
	}
	
	public List<AnnyNotice> findList(AnnyNotice annyNotice) {
		return super.findList(annyNotice);
	}
	
	public Page<AnnyNotice> findPage(Page<AnnyNotice> page, AnnyNotice annyNotice) {
		return super.findPage(page, annyNotice);
	}
	
	@Transactional(readOnly = false)
	public void save(AnnyNotice annyNotice) {
		super.save(annyNotice);
	}
	
	@Transactional(readOnly = false)
	public void delete(AnnyNotice annyNotice) {
		super.delete(annyNotice);
	}
	
}